/**
 * 
 */
package com.googlecode.dynargs.model.constraints.validation;

/**
 * @author Federico De Faveri defaveri@gmail.com
 *
 */
public class NotNull extends ValidationConstraint {

	public NotNull(String message) {
		super(javax.validation.constraints.NotNull.class, ValidationConstraintType.NOT_NULL, message);
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("NotNull [message=");
		builder.append(message);
		builder.append("]");
		return builder.toString();
	}
}
